home *** CD-ROM | disk | FTP | other *** search
- Path: indyvax.iupui.edu!nntp
- Newsgroups: comp.lang.c++
- Subject: VC++ COMM Port
- Message-ID: <3119334A.3B9@medwish.dmed.iupui.edu>
- From: Todd Kirk <toddk@medwish.dmed.iupui.edu>
- Date: Wed, 07 Feb 1996 18:18:34 -0500
- Nntp-Posting-Host: 134.68.218.10
- X-Mailer: Mozilla 2.0b6a (Win95; I)
- MIME-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
-
- Hey ....
- I have just started with VC++ and have a pretty
- good user interface going. Now when the user clicks
- a button, I want something to be sent to a comm port.
-
- void button::OnBopen() //clicks the "open button"
- {
- //some code
- idComDev = OpenComm("COM1", 1024, 128);
- //more code ???
- }
-
- I know that I can't call it like this. I have looked over
- most of the comm functions, but don't know how to call
- them. Thankx ~TODD~
-